EDD\Database\Queries\Date D

Total Complexity 169
Dependencies 0
Dependents 1
Total lines 1,207
Lines of code 499
Logical lines of code 294
Comment lines 483
Methods 18
Properties 8

Methods 18

Method Rating Maintainability Complexity Lines of code
get_sql_for_clause()
C
37 29 62
validate_date_values()
C
34 24 94
build_time_query()
C
42 26 44
build_mysql_datetime()
B
39 18 71
build_numeric_value()
A
47 12 34
get_sql_for_query()
A
43 11 48
build_value()
A
46 11 37
sanitize_query()
A
48 11 34
build_mysql_week()
A
55 8 20
__construct()
S
59 5 15
get_compare()
S
69 3 6
get_relation()
S
69 3 6
get_sql_clauses()
S
67 2 7
get_column()
S
70 2 6
get_sql()
S
75 1 4
validate_column()
S
79 1 3
is_first_order_clause()
S
74 1 4
checkdate()
S
74 1 4